package com.zhuanzhuan.hero.user.vo.reliable;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @ClassName CertifyReliableDTO
 * @Description
 * @Author hanjunjun
 * @Date 2024/6/20 13:45
 */
@Data
public class CertifyReliableDTO {

    @NotNull
    private Long toUid;

    /**
     * 1-靠谱,2-不靠谱
     */
    @NotNull
    private Integer reliableType;

    /**
     * 不靠谱必传理由  50-500字
     */
    @Size(min = 50, max = 500, message = "不靠谱理由字数须在50-500")
    private String unReliableReason;

    /**
     * 不靠谱必传图片  1-9张
     */
    @Size(min = 1, max = 9, message = "靠谱图片错误")
    private List<String> unReliablePics;
}
